package com.runvp.common.util.enc.aes128gcm;

public class HexToDecimal {
    public static void main(String[] args) {
        String hexString = "3A3A030100000000000001001F6BE3153AFC79025ACDF03CB38D988927BBF1DB4FCE387729CB19AB13FEC1367130C4C92F60B7EB4D565B1DDFC2559E"; // 示例16进制字符串
        try {
            int decimalValue = Integer.parseInt(hexString, 16);
            System.out.println("10进制字符串: " + decimalValue);
        } catch (NumberFormatException e) {
            System.err.println("输入的16进制字符串格式不正确: " + e.getMessage());
        }
    }
}